package com.newsproject.service;


import com.newsproject.pojo.Result;
import com.newsproject.pojo.VerificationCode;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;

@Service
public interface EmailService {
    Result<VerificationCode> sendEmail(String email,HttpSession session);
    VerificationCode getVerificationCode(String email);
    Result<String> sendCode(String email, HttpSession session);
    void sendEmail(String email,String object,String content);
}
